# -*- coding: utf-8 -*-
# @Author : Yuan

from django.urls import path
from apps.goods.views import *


urlpatterns = [
    path('list/<int:category_id>/skus/', ListView.as_view()),
    path('hot/<int:category_id>/', HotView.as_view()),
    path('search/', SKUSearchView()),   # 继承SearchView  没有as_view方法
    path('detail/<sku_id>/', DetailView.as_view()),
    path('detail/visit/<category_id>/', DetailVisitView.as_view()),
]
